hdc shell mount -o rw,remount /

hdc file send %~dp0rk3568\packages\phone\system\lib\ld-musl-arm-asan.so.1 /system/lib/
hdc shell chmod 777 /system/lib/ld-musl-arm-asan.so.1

hdc file send %~dp0rk3568\packages\phone\system\etc\init\asan.cfg /etc/init/
hdc shell chmod 777 /etc/init/asan.cfg

hdc file send %~dp0rk3568\packages\phone\system\etc\asan.options /etc/
hdc shell chmod 777 /etc/asan.options

hdc file send %~dp0rk3568\packages\phone\system\lib\libclang_rt.asan.so /system/lib/
hdc shell chmod 777 /system/lib/libclang_rt.asan.so

hdc file send %~dp0sa_main_asan /system/bin/
hdc shell chmod 777 /system/bin/sa_main_asan

hdc shell mkdir -p /data/system_asan/
hdc file send %~dp0sos.tar.gz /storage/

pause
